<?
/**
 * RS_config.php - config file for rsstyles.php and rsscripts.php
 *
 * Combines concatenation, Javascript minimizing, buffered gzip output and both
 * server-side and client-side caching, all of which are optional.
 *
 * PHP 5 or higher is required.
 *
 * Permission is hereby granted to use this script under the conditions of the
 * MIT License.
 *
 * --
 * Copyright (c) 2009 David Beveridge (http://www.nerdyisback.com)
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of
 * this software and associated documentation files (the "Software"), to deal in
 * the Software without restriction, including without limitation the rights to
 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
 * of the Software, and to permit persons to whom the Software is furnished to do
 * so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * The Software shall be used for Good, not Evil.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 * --
 *
 * @package ResourceSquisher
 * @author David Beveridge <davidjbeveridge@gmail.com>
 * @copyright 2009 David Beveridge <davidjbeveridge@gmail.com>
 * @license http://opensource.org/licenses/mit-license.php MIT License
 * @version 0.2 (2008-03-02)
 */


define('RS_CLIENT_CACHE_DURATION',3600);
// The number of seconds the client is allowed to cache the script/stylesheet

define('RS_USE_GZIP_COMPRESSION',true);
// Whether or not to use gzip-compressed output buffering
// true = ON, false = OFF
// Uses the gzip output buffering built in to PHP, if equipped.

define('RS_USE_MINIMIZING',true);
// Whether or not to use the minimizing provided by jsmin/cssmin
// true = ON, false = OFF

define('RS_USE_SERVER_CACHING',true);
// Whether or not to use server-side caching.
// true = ON, false = OFF
// writes output to disk for faster retrieval

define('RS_SERVER_CACHE_DURATION',3600);
// The number of seconds the server will consider the cache to be "fresh"

define('RS_SERVER_CACHE_PATH',dirname(__FILE__).'/cache/');
// Path to the folder where RS will cache files w/ a trailing slash.

define('RS_JS_PATH',dirname(__FILE__).'/js/');
// Local file path to the javascript files, with a trailing slash.
// For example, if RS_JS_PATH is './js/' then accessing http://yourwebsite.com/rsscripts.php?file=jquery
// would pull the local file './js/jquery.js'

define('RS_CSS_PATH',dirname(__FILE__).'/css/');
// Local file path to the CSS files, with a trailing slash.
// For example, if RS_CSS_PATH is './css/' then accessing http://yourwebsite.com/rsstyles.php?file=style
// would pull the local file './css/style.css'

define('RS_SCRIPT_ARG_NAME','files');
// The name of the argument passed to the script.  For example, for requests to http://abcd.com/rsstyles.php?argname=
// 'argname' is the name of the argument passed.
